package com.primestone.cim.dashboardforcim.repo;

import java.util.Date;
import java.util.List;

import com.primestone.cim.dashboardforcim.domain.ResMeterReadings;

/**
 * @author cesar.mateus
 * May 27, 2013 4:13:40 PM
 * ResMeterReadingsDao.java
 * dashboardForCIM
 * 
 */
public interface ResMeterReadingsDao
{
	/**
	 * @param id
	 * @return
	 */
	ResMeterReadings findById(Long id);
    
    /**
     * @param jsonResultDate
     * @return
     */
    List<ResMeterReadings> findAllOrderedByJsonResultDate(Date jsonResultDate);
        
    /**
     * @return
     */
    List<ResMeterReadings> findAllOrderedByJsonResultDate();
        
    /**
     * @param username
     * @return
     */
    List<ResMeterReadings> findAllOrderedByUsername(String username);
    
    /**
     * @return
     */
    List<ResMeterReadings> findAllOrderedByUsername();
        
    /**
     * @param ticket
     * @return
     */
    List<ResMeterReadings> findAllOrderedByTicket(String ticket);
        
    /**
     * @return
     */
    List<ResMeterReadings> findAllOrderedByTicket();
    
    //public void register(Member member);
}
